package cn.iocoder.yudao.module.ems.convert.warehousing;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.ems.controller.admin.warehousing.vo.*;
import cn.iocoder.yudao.module.ems.dal.dataobject.warehousing.WarehousingDO;

/**
 * 入库记录 Convert
 *
 * @author dason
 */
@Mapper
public interface WarehousingConvert {

    WarehousingConvert INSTANCE = Mappers.getMapper(WarehousingConvert.class);

    WarehousingDO convert(WarehousingCreateReqVO bean);

    WarehousingDO convert(WarehousingUpdateReqVO bean);

    WarehousingRespVO convert(WarehousingDO bean);

    List<WarehousingRespVO> convertList(List<WarehousingDO> list);

    PageResult<WarehousingRespVO> convertPage(PageResult<WarehousingDO> page);

    List<WarehousingExcelVO> convertList02(List<WarehousingDO> list);

}
